<h1>New Article</h1>

<p>Create a new article!</p>

<% if @article %><%= render :partial => 'form/errors', :record => @article %><% end %>

<% form_for :article, :url => articles_url do |form| %>
  <%= form.text_field :title %>
  <%= form.text_area  :body  %>
  <%= form.text_field :tag_list  %>
  
  <%= form.submit 'Post article' %>
<% end %>